<template>
  <div id="app">
    <hear></hear>
    <daohang></daohang>
    <liebiao></liebiao>
  </div>
</template>

<script>


export default {
  name: 'App',
  beforeCreate(){
    console.log('组件创建前');
  },
  created(){
    console.log('组件创建完成');
  },
  //挂载期
  beforeMount(){
    console.log('组件挂载前');
  },
  mounted(){
    console.log('组件挂载已完成');
  },
  //更新期
  beforeUpdate(){
    console.log('更新前');
  },
  updated(){
    console.log('更新完成');
  },
  beforeDestroy(){
    console.log('组件摧毁前');
  },
  destroyed(){
    console.log('组件摧毁完成');
  }
}
</script>

<style>

</style>
